#!/usr/bin/python3

from tkinter import *
root = Tk()#实例化
root.title('This is a test window')#标题
root.geometry('300x100')#窗口大小
root.mainloop()#事件监听
